package com.ld.control.business.equipment.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备方发表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-17
 */
@Data
@Schema(description = "设备方法")
public class EquipmentMethodTmpRespVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "设备id")
    private Long equipmentId;

    @Schema(description = "方法名")
    private String name;

    @Schema(description = "方法类型：0设备方法，1系统内部方法")
    private Integer methodType;

    @Schema(description = "是否只限调试可用，0否：1是，如果是1则是调试设备的方法不能用于真实任务中")
    private Integer debugFlag;

    @Schema(description = "方法执行预估时间，单位秒")
    private Integer estimatedTime;

    @Schema(description = "排序值越小越靠前")
    private Integer sort;

    @Schema(description = "描述")
    private String description;

}
